<?php

namespace app\admin\model;

use think\Model;
use traits\model\SoftDelete;

class Projects extends Model
{
    // 表名
    protected $name = 'oa_project';
    
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';
    //protected $autoWriteTimestamp = 'datetime';

    // 定义时间戳字段名
    protected $createTime = 'create_time';
    //protected $updateTime = 'update_time';
    //protected $dateFormat = 'Y-m-d H:i:s';
    //protected $deleteTime = 'deletetime';
}
